Ext.define("MyFirstApp.model.Server",{
    extend:'Ext.data.Model',
    config:{
        fields: [
            {
                name: 'id',
                type: 'string'
            },
            {
                name: 'name',
                type: 'string'
            },
            {
                name: 'server',
                type: 'string'
            },
            {
                name: 'port',
                type: 'string'
            },
            {
                name: 'status',
                type: 'int'
            },
            {
                name: 'type',
                type: 'int'
            },
            {
                name: 'openSockets',
                type: 'int'
            },
            {
                name: 'heapSize',
                type: 'int'
            },
            {
                name: 'heapFree',
                type: 'int'
            },
            {
                name: 'timestamp',
                type: 'date',
                dateFormat: 'U'
            }
        ]
    }
});